package com.example.plusz.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.plusz.entity.Clazz;
import com.example.plusz.entity.Student;
import com.example.plusz.mapper.ClazzMapper;
import com.example.plusz.service.ClazzService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

/**
 * @ClassName ClazzServiceImpl
 * @Description TODO
 * @Author HP
 * @Date 16:12 2022/7/21
 * @Version 1.0
 **/
@Service
public class ClazzServiceImpl extends ServiceImpl<ClazzMapper, Clazz> implements ClazzService {
    @Autowired
    private ClazzMapper clazzMapper;
    @Override
    public ArrayList<Clazz> findStudentByClazz() {
        return clazzMapper.findStudentByClazz();
    }
}
